package com.jxd.reportsys.service.impl;

import com.jxd.reportsys.dao.IProjectMapper;
import com.jxd.reportsys.model.Project;
import com.jxd.reportsys.service.IProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName ProjectServiceImpl
 * @Description TODO
 * @Author 朱隶文
 * @Date 2024/9/19 16:48
 * @Version 1.0
 */
@Service
public class ProjectServiceImpl implements IProjectService {

    @Autowired
    private IProjectMapper projectMapper;

    @Override
    public List<Project> getProjectByDeptno(int daptno) {
        return projectMapper.getProjectByDeptno(daptno);
    }
}
